@import "../../style/modules/color";
@import "../../style/modules/function";
@import "../../style/modules/animation";

.share-btn-wrapper {
    background-color: rgba(0, 0, 0, .6);

    .modal-content {
        padding-top: rpx(85);
    }
}

.share-fixed-btn {
    position: fixed;
    top: rpx(20);
    right: rpx(20);
    color: $main-color;
    display: flex;
    align-items: center;
    justify-content: center;
    width: rpx(100);
    height: rpx(100);
    font-size: rpx(40);
    //border-radius: 50%;
    //border: 1px solid $main-color;
    border: 1px solid transparent;
    z-index: 10;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    animation: aniT 1.5s infinite linear;

    image {
        width: 100%;
        height: 100%;
    }

    &:after {
        box-shadow: none;
        border: none;
    }
}

.message-modal-box {
    position: fixed;
    top: rpx(20);
    right: rpx(110);
    z-index: 10;
    width: rpx(270);
    animation: aniLr 1.5s linear infinite;
    display: none;
    .text {
        position: relative;
        padding: rpx(15);
        border: rpx(1) solid $main-color;
        border-radius: rpx(15);
        font-size: rpx(26);
        line-height: 1.5;
        background-color: rgba(251, 251, 251, 1);

        &:after {
            position: absolute;
            content: "";
            right: rpx(-11);
            top: rpx(25);
            background-color: rgba(251, 251, 251, 1);
            transform: rotate(45deg);
            width: rpx(20);
            height: rpx(20);
            border: rpx(1) solid $main-color;
            border-left: none;
            border-bottom: none;
        }
    }

}

@keyframes aniLr {
    0% {
        right: rpx(110);
    }
    50% {
        right: rpx(130);
    }
    100% {
        right: rpx(110);
    }
}
